home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 November / Macworld Nov ’95.toast / Developers / BoxMaker++ / BoxMaker++ ƒ / Rez files / boxmaker errorAlert.r < prev    next >
Encoding:
Text File  |  1995-06-14  |  697 b   |  52 lines  |  [TEXT/KAHL]

  1. #ifndef SystemSevenOrLater
  2.     #define SystemSevenOrLater 1
  3. #endif
  4.  
  5. #ifdef THINK_Rez
  6.     #include <Types.r>
  7. #else
  8.     #include "Types.r"
  9. #endif
  10.  
  11. #include "boxmaker constants.h"
  12.  
  13. resource 'ALRT' (kErrorAlertID, purgeable) {    // General Error Alert
  14.     {80, 96, 208, 416},
  15.     kErrorAlertID,
  16.     {
  17.         OK, visible, silent,
  18.         OK, visible, silent,
  19.         OK, visible, silent,
  20.         OK, visible, silent
  21.     },
  22.     alertPositionMainScreen
  23. };
  24.  
  25. resource 'DITL' (kErrorAlertID, purgeable) {
  26.     {
  27.         {96, 232, 116, 304},
  28.         Button {
  29.             enabled,
  30.             "OK"
  31.         },
  32.  
  33.         {8, 48, 86, 307},
  34.         StaticText {
  35.             disabled,
  36.             "^0"
  37.         },
  38.  
  39.         {8, 8, 40, 40},
  40.         Icon {
  41.             disabled,
  42.             0
  43.         },
  44.  
  45.         {96, 11, 112, 100},
  46.         StaticText {
  47.             disabled,
  48.             "Error #^1"
  49.         }
  50.     }
  51. };
  52.